﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RomAPI.Offsets;
namespace RomAPI.Objects
{
    public class RomPlayer : RomUnit
    {
        public RomPlayer(RomClient client, uint baseAddress) : base(client, baseAddress) { }
        public void Move(RomUnitMovement type)
        {
            try
            {
                SetField<UInt32>((uint)RomPlayerOffset.MOVEMENT, (UInt32)type);
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message);
            }
        }
        public void MoveToPoint(float x, float y)
        {

        }
    }
}
